package com.risk.ctrl.credit.service;

import com.risk.ctrl.entity.base.Result;
import com.risk.ctrl.entity.req.AuthReq;
import com.risk.ctrl.entity.req.CreditQueryH5Req;
import com.risk.ctrl.entity.req.CreditQueryReq;
import com.risk.ctrl.entity.resp.AuthResp;
import com.risk.ctrl.entity.resp.CreditQueryH5Resp;
import com.risk.ctrl.entity.resp.CreditQueryResp;

public interface CreditService {
    /**
     * 认证
     * @param req
     * @return
     */
    Result<AuthResp> auth(AuthReq  req);

    /**
     * 查询
     * @param req
     * @return
     */
    Result<CreditQueryResp> query(CreditQueryReq req);

    /**
     * 查询H5
     * @param req
     * @return
     */
    Result<CreditQueryH5Resp> queryH5(CreditQueryH5Req req);
}
